Syncthing is lovely but past a certain point I don’t really want everything available everywhere all the time. I have limited space!
I need a directory exposed transparently to the user which shows my Johnny Decimal System.
It must show everything, local or remote.
It should let me access a file regardless of if it’s remote or local, but worst case I need to do something to turn a remote file into a local one first.
It will add a Dolphin context menu option to move between local and remote: see
It could have some way of identifying what is using space locally, so perhaps multiple layers of filesystem, such that I can run ncdu on the local only filesystem.
Maybe the approach is a filesystem that holds everything syncthing should care about, a mounted remote filesystem, and a mergerfs pool containing the two of them which is what I actually access. Then any tooling could simply move between the two of them. Hmm not quite actually because different devices might have different things in syncthing and different things remote only.
Maybe I need to dynamics update .stignore to ignore things that should be remote only.
Then turning a local file remote means:
And turning a remote file local means:
Use ff mergerfs policy to cause mergerfs to prefer local data if available including write. So prefer to write to local and have syncthing sync it to the remote.